Close connection at end of clearDB.js script