Fixed TaskDispatcher hanging under certain circumstances (fixed #34)
Workaround to prevent services with TopShelf from hanging