"fixed" Step async locking never returning by replacing EventEmitter with while loop