Pleas help me with Random Ethernet Disconnect

I have a new issue that I've never had before in Ubuntu.
I'm trying to get into Krita painting and I want to start to stream my art process with OBS to sites like twitch, but sadly I will not be able to do so if this problem persists.

During my utilization of Krita along with my graphics tablet, my network connection applet notifies me that I am disconnected from the network. Before I have a chance to investigate, I am automatically reconnected or "connection established" notification appears. It never stays disconnected for more than a few seconds.

I don't know if the connection is really dropping or not. I watch video tutorials on youtube or other people's twitch streams while I'm painting sometimes. During this time if it shows the disconnection notification, the videos I'm watching in the browser don't buffer, pause or anything.

This problem only happens when I'm drawing in Krita while I use my pen-tablet driver from the manufacturer.

The graphics tablet is an XP-Pen Deco-01 and the driver only works if I open a terminal in the directory that I downloaded from xp-pen website and run this code with sudo:

remo@pastlife:~/Desktop/Art/Linux_Pentablet_V1.2.4$ sudo ./Pentablet_Driver.sh
[sudo] password for remo:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

The driver keeps this terminal open and must remain open for the tablet to work. Being a newbie in Linux and not knowing a lot about network security, I am a little concerned that the driver might have some sort of malware or something.

I'm really bad with network tools but I do know that in my router settings I have properly set my Ubuntu machine with a static IP.

remo@pastlife:~$ sudo lshw -C network
*-network
description: Ethernet interface
product: Ethernet Connection (2) I219-V
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: enp0s31f6
version: 00
serial: 30:9c:23:9c:a0:88
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.8-4 ip=192.168.1.80 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:128 memory:dff00000-dff1ffff

remo@pastlife:~$ sudo lspci
[sudo] password for remo:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 06)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 06)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation 200 Series PCH USB 3.0 xHCI Controller
00:14.2 Signal processing controller: Intel Corporation 200 Series PCH Thermal Subsystem
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0)
00:1c.6 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #7 (rev f0)
00:1f.0 ISA bridge: Intel Corporation 200 Series PCH LPC Controller (B250)
00:1f.2 Memory controller: Intel Corporation 200 Series PCH PMC
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
00:1f.4 SMBus: Intel Corporation 200 Series PCH SMBus Controller
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Polaris11] (rev cf)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aae0
02:00.0 USB controller: ASMedia Technology Inc. Device 2142
03:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)

Someone online had a similar issue but I think theirs would stay disconnected and they solved it with this code:
sudo ethtool -s enp5s0 speed 100 duplex full

What does this code do and would it be useful in my situation?

I'm really lost here so thank you so much for your time reading this post.

This issue solved itself by magic the next update BTW