Set timeout on max duration of reading from fifo in :host

This pull request ensures that we can't get a hanging read-cmd.sh process on the host