add a wait-ps script to wait for ps.pl a process to exit

Signed-off-by: Bao Haojun <baohaojun@gmail.com>