Handle closed websockets slightly better, I hope