Create task with a context and a callback.
Slightly speed up initial sync.