patched up the route and polished it note: THIS API IS ONLY FOR DEVELOPMENT PURPOSES
Added what to do if 'SIGTERM' is sent to the server for the `/stop` API route