Search for a free PID slot at fork