Make CannotConnectException print a stack trace