[GH #886] stabilize t/pmc/task.t, wait for kill signal