requests: Set timeout to prevent hangs when querying external services
Set timeout parameter when querying external services through the requests
module.
This will prevent possible hangs of swh-web
backend when a connection is made to
a service but no data is received.
Related #2028
Migrated from D2057 (view on Phabricator)