making << operator on task queues asynchronous