Make sure all services are stopped properly