kraken: Use writelock when getting reader and writer
kraken: Use writelock when getting reader and writer

Reviewers: #kraken, codyg

Reviewed By: #kraken, codyg

Subscribers: jenkins

Differential Revision: https://code.uberinternal.com/D1559679

uber/kraken,uber/kraken,uber/kraken,uber/kraken,uber/kraken