Issue 136: Decrementing remaining count needs to be threadsafe

This fixes one of the possible reasons for memcache timeouts - especially in situations where the operation state is set to COMPLETE, but the operation still times out. The count integer was being decremented in a non-thread safe manner. The patch switches to use an AtomicInteger instead.