Changed tracker to use dequeue blocking instead of busy wait
Fixed bug with sending done signal to thread