Try relogin when server error occurs