Added an option to set Timeout for WebRequest