Use the onDisconnect annotation