Some shlexec tests timeout on Windows10 (and generate errors as no
action has been executed).
Improve detection of timeout in child program (so that existing
workaround in shell_execute_ex can be triggered).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>