added timeouts to JerseyConnector