LXD having trouble starting still

Running 3.0 in Ubuntu 18.04 desktop. I am needing to run my restart lxd script on my servers every time otherwise they wont start. See script below. It seems it is having trouble starting because some services may not be starting in front of LXD. Anyone else run into this. Could it be something that need to be changed in netcard or startup.

cat lxcreset.sh
echo 'Reseting Networking'
systemctl restart systemd-networkd
sleep 10
echo 'Stopping Socket'
systemctl stop snap.lxd.daemon.unix.socket
sleep 10
echo 'Starting Unix Socket'
systemctl start snap.lxd.daemon.unix.socket
sleep 10 
echo 'Stopping lxd'
systemctl stop    snap.lxd.daemon
echo 'Starting lxd'
systemctl restart snap.lxd.daemon
sleep 10
lxc cluster list