clear websocket handlers on close
fuck you, firefox.