My app uses an external sub process that is communicating with Meteor app server.
You know that the server restarts when you update the server-side code of Meteor app.
And I found that this restart does not kill the sub process.
So I need to kill the sub process by my code before restarting the server.
Is there any events that can be listened just before restarting a server?