PerlIO handles with built-in timeouts