Use global timeout to determine max allowed timeout.