XPS 13 dropping USB connections

I have an XPS 13 that is connected to the plugable USB-C docking station. At first it seemed to work most of the time. After a month or so it started dropping the USB connections so my external mouse and keyboard dont work. If i disconnect the docking station and plug it back in things work most of the time. Sometimes i need to reboot. Seems to happen most often when either going into or coming out of sleep mode.