crash bug fixed, check comments in the code
thread pool now owns the queue thus it could make sure that queue is
alive until all threads are done
queue is out of pool
cleanp