Issue #2389061 by slashrsm: Fix typo in __sleep() and make sure only one object is subscribed to events.
Merge pull request #39 from slashrsm/2389061_caching

Issue #2389061 by slashrsm: Fix typo in __sleep() and make sure only one...