Cache memory pooling: delete in a separate thread

This way we don’t stall render threads while deleting images