Fix HazardPointer implementation
Fix case of releasing lock-free resources during the global cleanup
Fix case of releasing lock-free resources during the local cleanup