Add timeout option

Add setTimeout method that is used to set timeout value for the request. The value 60 seconds will be used as default if timeout is not set.