Automatic retraction phase of airborne wind energy systems