Added keepalive on websocket connections