NXP-1173: add completeTask operation