Fixed a concurrency bug in AxonClient