" Realizing this , the pilot changed course and diverted to Kennedy , which has longer runways . "