Added global timeout option