Discourse update doesn't wait for Postgress DB to shut down

That worked flawlessly. Thank you!