change service endpoint url, handle timeouts