Uniform continuity on unbounded intervals