The Rafah crossing was closed last month , after Palestinian militants killed five Israeli soldiers at a nearby army post .