when the reconnection thread is restart, reset the waiting time