try to avoid timeout and http response error.