Monitors a pid and all its sons with NodeJS