Added some more exception handling for API request.
Added timeout handling for API calls to NIMSP servers.