don't panic on clean app close if no database connection was made