JBTHR-28 Ensure listener is called when there are running threads during shutdown
Merge pull request #8 from doctau/JBTHR-28

JBTHR-28 Ensure listener is called when there are running threads during shutdown