Added special error handling for SocketTimeoutException which does not 
provide an error message.