Previously, we report usecounter when clearing main event queue, but js execution
could still happen on the microtask after that. So defer the reporting to worker
is in killing state.
Differential Revision: https://phabricator.services.mozilla.com/D106769