Changed how tracker shutdown works

Made tracker shutdown a little less awkward. If I can't figure out
what's going on with the integration test I may rewrite the tracker to
follow the conventions of the nodes, because god that thing is ugly.