throttle socket writes