Various fixes

- Fixed racy anti-patterns
    if os.path.exists(path):
         # open(path)

    if args in self.__cache:  # __cache is weakref dict
         # self.__cache[args]

- Modified deadlock context to work with RLocks.
- Added sleeps to fast printing example.