Re-worked taskDestroy