Wait for monitor goroutine to return during supervisor shutdown
The zombie/child detection in our tests would sometimes catch a ps
process trying to measure the RSS of a supervised process.
This change makes it so that we wait for the RSS monitor goroutine to return before the zombie/child check happens.
Edited by GitLab Release Tools Bot