Fixed pending socket data buildup