clean up param thread local