* Exit loop when disconnected.