Terminate the process on timeout

If the process exceed the specified timeout it has to be killed.
The job is done using the "TerminateProcess" Win32 function.