def set_timeout(self, timeout, method='<STR_LIT>'):
self.timeout[method] = timeout or None<EOL>
Set the timeout for any connection, the timeout is the requests module
timeout (for conneciton inactivity rather than request total time)

:param timeout: Timeout in seconds for the connection inactivity
:param method: Request method (eg. GET, POST, ..). By default, set
    default timeout.