= handle tcp errors
 = retry write command on error
Merge pull request #2 from kulikov/feature-handle-tcp-errors

= improve availability: correct handling TCP errors