Save client timeout and reconnect to avoid timeout error.