Added mechanism for closing all requests, executed when server is stopped.

Improves testing in isolation.  There will be no outstanding requests
to negatively impact testing.

Also addresses an issue where a bad .tail.defaults.json file would
result in the request being dequeued but not terminated.