in reply to Re^5: IO::Socket reconnect
in thread IO::Socket reconnect

Yep, this is what I already have done =)