Added p.wait instead check_call