tcp libuv memory leak fix