deleted shut down threads statements
a bug in thread pool. Testing sometimes works
Debuggable interface added