fixed silly race condition with riak client