Added a way to properly shut down the SCGI server.