I still need to test better, but I think this solution fixed the issue for me.
On Linux Mint 19.3 NetworkManager uses the URL http://connectivity-check.ubuntu.com/ to check for connectivity, however, this URL is frequently timing out for me.
So, I disabled the connectivity checking feature and now Spotify is no longer reporting being offline.
I still need to test better, but I think this solution fixed the issue for me.
On Linux Mint 19.3 NetworkManager uses the URL http://connectivity-check.ubuntu.com/ to check for connectivity, however, this URL is frequently timing out for me.
So, I disabled the connectivity checking feature and now Spotify is no longer reporting being offline.