Rework locking client to only lock around http requests

Instead of locking around all method calls into the rets client, lock around individual http calls.