Airlines could see a shortage of pilots