Do we still need this try catch? i am assuming the try catch was internalized in shutdownDatabase() and thats why it has been commented out.