Minor memory-leak improvement in broker main loop.