Tweak the `asyncemit` method to correctly handle one-time listeners

Fixes #271.