Fix: Memory use increasing forever in SPI logger