Added some timeout handlers for API calls.
Merge pull request #76 from coldstar96/network-timeouts

Added some timeout handlers for API calls.