Fixes LOGSTASH-1860

- Fix bad 'method_missing?' name
- If writing to the pipe failed, open a new pipe and resend the event.