try..catch loop for irbem testing