added timeout to requests