prevent overflow of spi transfer queue

We now check the SPI callback before issuing further commands.