BUGFIX: race condition waiting for asynchronous events while in queued action