[WFLY-3162] Add reconnect timeout and logic to syslog tcp and tls

protocols
It is only used in one thread