Added missing stdint.h header in timer.h
Added a feature to totally cleanup gather registry on demand