[entropy.fetchers] add locking infrastructure support code