[JSPF-115] Fix NPE that causes hang

This NPE happens when a PortUnreachableException (that doesn't have a
message) is received in the exceptionally block, but other exceptions
without a message also can trigger this bug. Also added the null check
for e.getCause(), just in case.
1 file changed