Should I Stay or Should I Go: A Learning Approach for Drone-based Sensing Applications