[fix] Remove `connection` listener when bailing out of async forEach