added placeholder impl of cleanupOnFailure, as the default for StoreFunc breaks with Mongo