Restart Network without Rebooting Kodi

Is it possible to restart the network from SSH session without rebooting?
The reason is I have a lot of stale tcp sessions , output from
ss -t

ESTAB        0        0  
CLOSE-WAIT   64       0  
CLOSE-WAIT   1        0   
CLOSE-WAIT   32       0  

Some of these have been here for a few days.
The easy way is to reboot, just wonder if I can log in via SSH and use

sudo service network-manager reboot

I know network is a bit different on OSMC.
Running Leia 18.9 on Rasberry Pi 2.

Can try
sudo systemctl restart connman
ifconfig eth0 down && ifconfig eth0 up