Got the server to exit gracefully on cntr-c on Mac.   Still need to test on windows.