Removed close db call and assert.