Added a timeout to requests