Agent controller should close its connection when it finishes.
(e.g. when the Trace is killed by HQ)