Fixed Timeout Bug in Queue.Wait
Added ThreadPool