Work around firefox memory hogging and crashes on long running processes