simple tcp output plugin with exit on write failure