add shutdown hook so I don't need to mess with PID to manage the process

I found a shutdown method in scope at that spot, but it just ended the request handler threads, not the process.

There's probably a more graceful way to terminate