fix race condition, rename join event and pass req