added close() in dropDatabase()