[OC-11573] Shutdown postgresql after schema migration.