make salt-event-hub write pid file and clean it up properly
merged