Fix initialization order for the async events handler. The polling thread would launch before the wake signal is initialized.
Fix initialization order for the async events handler. The polling thread would launch before the wake signal is initialized.