documented disconnect() and quitLoop() from Client