optoinal global timeout for rest requests