Added optional parameter for the ua client to time out so that the request to ua server does not hang forever if a problem happens. Backward compatible change : default timeout to None