Implement DialTimeout and DialUriTimeout functions