stop before start server