The pilots narrowly avoided being hit.