Roon intermittently loses contact with airplay and raspberry pi

Can you let us know a little more about your setup, particularly with regards to the network topology?