Clean database when done