add shutdown functionality for darkserver dashboard