removed onTick infra from reactor as there is no use case for this
Fix issue where reactor thread is calling agent.onClose directly instead of via agency thread pool
fix merge conflicts