Set upper limit 6000 of buffer
Fix socket mockup