Added some timeout handlers for API calls.

Added overrides for all the API calls to handle network exceptions.