using the MonitoredHost is much easier to retrieve the pid instead of writing some cpp zeugs