Issue #355 Add data persistence/connection recovery to TcpOutput