Refactored the Splunk forwarder to using blocking IO to fix all the race condietions.