Bug 861965 - remove idle time during metadata parsing

Don't land this yet: it still causes OOMs.  And it has a bunch of console message.