Added redirect timeout option.