don't keeptrying forever due to memory constraints