Fix idle timeout for connected TCP sockets

Merge request reports