FT-1549: Close WebSocket connection for idle sessions