Fixed infinite loop that occurred because the Operator task post_flight
was never removed.