Mitigate serious memory leak in task_for_pid() by avoiding it.

Will file a radar for this.