network/uart_tcp_client/resources/settings.ini

# we'll close the stream when we're ready,
# not when the remote side disconnects
stream.auto_close 0
tcp.client.retries 1
tcp.client.connect_timeout 500
tcp.keepalive.enabled 1
tcp.keepalive.initial_timeout 5
tcp.keepalive.retry_count 3
tcp.keepalive.retry_timeout 3