reconnect to main server after timeout