fix(noMisusedPromises): perf regression (#11314)