inputs: pipe: retry on failure

https://logstash.jira.com/browse/LOGSTASH-966
Merge pull request #619 from jdve/master

inputs: pipe: retry on failure