captured error when client lost connection with the server in login and processline request