added protection against hang-ups when EoR does not arrive