xpcshell shutdown fix