Made sure to clean up expired threads when terminating all threads.
Made sure to clean up expired threads when terminating all threads.

digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch