Fix bugs connected with continuing moving even if server connection has not been setuped.