Bug 963917: hold a screen lock while scanning to avoid OOM