Prevents the renderer process staying up when the user scripts are waiting for an unresolved promise.