I am using the Mongoose web server for my project.
Does Mongoose have a shutdown handler?
I would like to do some operations while the mongoose is shutting down.
Is it possible to see if the port is already used by another process or a mongoose server is already running?