connections might break things. Only-sending applications like syslog() do not need a newdata() handler, so added a check if that handler exists.