[patch 1/7] fork: report pid exhaustion correctly