```clean_up``` is intended to clean the database. I would let python clear this dictionary when the process exits.