Being more conservative about which WebSocket handlers to remove.