Adds a throttling closure to add a waiting time before calling a callback, Uses this closure to throttle the event fired by socketio on slider value change