Make sure AgentServer actually executes shutDown

An evident lack of observation skills :)