work around:

in combination with the new resender the log collector chrashed while at this line.
i am not sure why this line is executed at all
new Feature: when connection gets closed unexpectedly  the TCP class throws an exception.