Cleaning up local_db