Database is now closed on exit.