Adding usleep and fflush on node 2 to force character print after reading from the named pipe.