Added a fix so that household memory is recycled properly on an exit request.