Deleting out of the task array