Implemented disconnect websockets on idle. Moved monitoring sockets in socket_watcher.