Handle dormant mode in process library and for PT's
Bug #28179 (moved) makes us able to handle PT processes better and read output from stdout/stderr, but with the recent dormant mode we should figure out this interaction works for PT's.
Especially on Windows this becomes a problem because we will probably stop reading from stdout/stderr when Tor enters its dormant mode to disable the timer that ticks once a second.