lib/Shell: now using fifo to lock the shell