Close all sockets and emit a stopped event to all trackers on exit.