Remove the tail hack.
Expand pids as list, not a single string.