better logging when connected to Splunk
reconnect capability