fix waiting for threads with new listen gem
Merge pull request #41 from mikz/master

Fix integration with new listen gem