Egypt says losing patience with Hamas