Correct "ps" call. Improve protection against wierd delays.