Bug 963075 - Fix web workers from "leaking" by simulating memory pressure before checking for leaks r=ted