Fixed worker shutdown

Collection thread is marked as daemon now, it allows python to stop
application without waiting collection thread to stop.