bug 965955 and bug 966140 - possible fix for intermittent failures of marStageSuccessPartial.js, marStageSuccessComplete.js, and marAppInUseStageSuccessComplete_unix.js. r=bbondy