PerlIO layer that adds read & write timeout to a handle
https://metacpan.org/release/PerlIO-via-Timeout