- Added support for stopping the server.