handle aborted tasks