Set timeout on web socket session.