data connection with timeout

This will close rt78926: https://rt.cpan.org/Public/Bug/Display.html?id=78926