Catch ext_temp() error
Print hour for debug
Try to extend range and stop MySQL timeout