Add lock for rados connections due to non-thread-safe-ness of init function

https://github.com/ceph/ceph/pull/1424