Adding outbox cleanup support for the inmemory persister