make throttle threadsafe
fix issues with throttle