Wait for non-zero pids in monit status

Signed-off-by: Edward Zhang <zhuadl@cn.ibm.com>