ListPids may not pick up the sh subprocess yet when it is first run. To
make this test more resilient, retry fetching the processes if only a
single pid is found for a short time.
Signed-off-by: Derek McGowan <derek@mcg.dev>
(cherry picked from commit bddeba8250)
Signed-off-by: Derek McGowan <derek@mcg.dev>