Be sure not to collect memo object if it doesn't contain promises, to prevent setImmediate.