Added shutdowndatabase methods to DBHandler