If process_handle <> 0 Then WaitForSingleObject process_handle, INFINITE CloseHandle process_handle End If