Fix atexit handling for kazoo threading handler.
Merge pull request #183 from wickman/wickman/fix_atexit_nones

Fix atexit handling for kazoo threading handler.