Moved syslog
fix

there was a problem with waiting for underlying connection using only 1 variable which never changed, I implemented 1 more variable that can be used to detect failure during connection initialization so that we aren't there for so long