socket write throttle. Fixed disconnect and gc