set_time_limit to zero, added some sleep statements to main import loop