b04e8e877c
Wrap callback execution in a promise microtask so synchronous errors flow through the existing `.catch()` and the in-flight entry is reliably cleaned up. Update tests to await the microtask before asserting call count.