on broken pipes - ie program exit, EBADF can will be used instead of EPIPE. This commit will allow pipe command to be restarted.
Merge pull request #974 from pputerla/master

on broken pipes - ie program exit, EBADF can will be used instead of EPI...