Adding server shutdown call to shell