Create a graceful server shutdown to close all the client connections with the server , close the port and exit.