/usr/src/perl/pod/perlfaq8/How_do_I_close_a_proces_fileha.pod

How do I close a process' filehandle without waiting for it to complete?

If your system supports signals, send a QUIT signal to the process (see the kill function, documented in kill.