Add timeout on HTTP request calls. am: c0f8507a10 am: a120c15f6f
am: 6739447c7f

Change-Id: Ib765d688dfc21c93ab8e0a7a85fc2bd4a2cf3483