A simple pessimistic lock implementation for Twisted using Redis.