other way to close server