FIX: Hopefully a good change to the FIFO semaphore