fixed the websocket connection auto termination after 5mins