A thread-pool now waits untill all remaining jobs in the job queue are processed when the destructor has been called. Though, a more effecient implementation could be usefull.