make the --ps thread a daemon thread so that it doesn't keep the process alive
make the --ps thread a daemon thread so that it doesn't keep the process alive

legacysurvey/legacypipe,legacysurvey/legacypipe