Removed unused references from task execution callback

AFDP-143