uavcan: safely abort motor test when arming during test