joscow The dropouts may be related to your WiFi. If you are on 2.4 GHz band try to change to a different channel or if you have a dual band router, try 5 GHz.
The freezes and hangups are a different matter. Perhaps you need to reinstall iTunes, or perhaps your iTunes library is corrupted. What version of iTunes are you using and what Mac OS and what are your computer specs.
I am currently using a 2014 Mac Mini as a music server running Mojave Version 10.14.4 and iTunes Version 12.9.4.94 and have had no problems. For the last 9 years I have had several different Macs running different Mac OS versions and iTunes versions and never had a dropout, hangup or freeze.
The freezes and hangups are a different matter. Perhaps you need to reinstall iTunes, or perhaps your iTunes library is corrupted. What version of iTunes are you using and what Mac OS and what are your computer specs.
I am currently using a 2014 Mac Mini as a music server running Mojave Version 10.14.4 and iTunes Version 12.9.4.94 and have had no problems. For the last 9 years I have had several different Macs running different Mac OS versions and iTunes versions and never had a dropout, hangup or freeze.