added cleaning for fifo file