Fixed set_time_limit() issue