CURATOR-126: Fix race condition in CuratorFrameworkImpl.close()

Done. I set the default to 1 second, let me know if should be different.