Fixed bug where the clinet would stop if the initial session request was lost