Fixing issue where splunkd connection exceptions caused the input to
fail on Windows