Refactor test of .pid= access failure allows read-only access so that we get past .pid and .alive?.