Add missing disconnect method for agent

Send an agent-disconnect to perform a clean disconnect