Handle cases where websocket handlers don't yield