Stop server after somebody sends a shutdown command