Log Message:
-----------
vm/vmimpl: wait before killing the process
The stdout and stderr streams may be closed before the program actually
exits, which races with our attempt to kill the process. It results in
Run() sometimes returning an error even though the command has actually
succeeded.
Let's give the process some more time to exit itself, and kill it only
after the timeout.