Fix some test failures on Windows because wait_for_pid() was not used.
Fix some test failures on Windows because wait_for_pid() was not used.

0-wiz-0/psutil,jamesblunt/psutil,msarahan/psutil,0-wiz-0/psutil,msarahan/psutil,landryb/psutil,giampaolo/psutil,mrjefftang/psutil,mindw/psutil,cloudbase/psutil,mindw/psutil,tomprince/psutil,jorik041/psutil,qbit/psutil,jamesblunt/psutil,jamesblunt/psutil,Q-Leap-Networks/psutil,qbit/psutil,landryb/psutil,mindw/psutil,giampaolo/psutil,mindw/psutil,packages/psutil,Q-Leap-Networks/psutil,tomprince/psutil,packages/psutil,jorik041/psutil,tomprince/psutil,mrjefftang/psutil,qbit/psutil,landryb/psutil,packages/psutil,tomprince/psutil,landryb/psutil,mindw/psutil,jorik041/psutil,mrjefftang/psutil,cloudbase/psutil,landryb/psutil,tomprince/psutil,cloudbase/psutil,msarahan/psutil