Fix for Jira ADHI-4840: changed the key of the eventHandler map to a simple uint64 counter, to guarantee the uniqueness of the map entires between different forks or event slots.