* chore: reverse the order of stopping services * chore: reverse the order of stopping services * test: add more tests