Revert "[fifo] Program refactored. Deleted 2 sleep()"

This reverts commit 1b92fa6b6d17afb812cd901d811865af7b6ad3f9.
[signal] Deleted sleep() and 100% CPU usage by while()