attempt to shutdown postgres (during a demotion) before bothering to check whether it's shutdown