Use unique_ptr the task queue for speeeeeeed