add an important feature of timing out. windows cannot catch ALRM exception, use win32::job instead.

Signed-off-by: Zhao, Zhongjie <123378840@qq.com>