Later , the militants shot in the air and blocked the Rafah crossing for more than an hour , turning away Palestinians who wanted to cross into Egypt , but making exceptions for medical patients and those who needed to catch flights in Cairo .