in reply to fork and kill process

Would it be just as effective to just pass wget a timeout value?

$ret = `wget --timeout=5`;

-Brett