stop logging and stv recording before restarting the server
specfix