Reimplemented CmaClient (again) to support concurrent connections.