Fix _a lot_ of bugs in the sync mode. Got rid of the data_collector thread, we use the request sample callback instead.
Fix _a lot_ of bugs in the sync mode.
Got rid of the data_collector thread, we use the request sample callback
instead.

deweerdt/TSP,deweerdt/TSP,deweerdt/TSP,deweerdt/TSP,deweerdt/TSP