Port bug 888373 - Simple API for detecting startup/shutdown crashes. rs=build-system-peer-port for CLOSED TREE