inputs: pipe: retry on failure

https://logstash.jira.com/browse/LOGSTASH-966