Handle timeouts in the connections

Now showing "TimeoutError" instead of nothing at all, as
error.getMessage() would return a null value.
Merge pull request #119 from ninetwozero/add-error-message-when-message-is-null

Handle timeouts in the connections