Cleaning up websockets