Removed db.close() from setup.js