(#1132) - ensure it cleans up after itself

#1132 didn't delete the db after it was made, this fixes it so you don't have 'foodb' laying around