Handle all attempts set/get exceptions in client.
Synchronize the work on the attempts map.
Only synchronize and count attempts when needed.

Only if the eventStore is an instance of KeenAttemptCountingEventStore.