synchronizing event callbacks