The political opposition has demanded President Hosni Mubarak 's government close it to U.S. warships , especially during the Iraq war , and has tried to use that issue to rally public discontent with Egyptian foreign policy .