Delete db entry when finished.