Fix client-server race condition

Remove race condition by teaching the daemon to read multiple lines
from the FIFO. Remove delay from client after writing a command to the FIFO,
as it did not always work in the past, and is not necessary now.