reset the waiting times when connect successful
Merge branch 'hotfix/reconnecttimesbug'