Add 'done' callback to release task