take care of cancelling of active pilots