Add a maximum wait time before the request is completed