Don't let database error to abort halt or shutdown processes
Merge branch 'jag/core-datbase-halt'

Conflicts:
	main/core/ChangeLog