Add memory management to util::Task.

`...Callbacks` ?