use .timeout to set global timeout