use async.parallel to wait for the events