Revised shutdown and started using control fifo.