Adding graceful shutdown from QUIT signal event

kill -s QUIT {pid} will now wait until all connections are complete before shutting down the server