Implemented a "disconnect" feature