Added dirty workaround to kill scripts when stopping/restarting Splunk