add timeout to the request