Websocket handler: do not raise if handler is terminated before switching protocols