Add Xync dependency to mod.json.
Fix race condition in registering input connection handlers.