Monitors a pid and all its sons