An implement of os/exec, but add timeout option