Add timeout to requests.

Test Plan: <see below>

Reviewers: desmond

Differential Revision: http://phabricator.khanacademy.org/D3035