mempool: fix allocation in memzone during retry