Prettier output and shutdown fix while syncing