Add task from prefetch at front of the writing queue.
cahnge in logging.