adding reset timeout to avoid hanging requests.