handle disconnecter websockets better