expunge objects so as to not hold the db connection forever