How to keep drones flying when a motor fails