TryMax should only loop when session is failed, close #1988