I discovered there is a Sleeptimer in the Android App. But for me, it simply doesn't work. I set it to 30mins while listening to an Audiobook through my Spotify Connect Speaker (JBL Playlist). After a few minutes, I checked again and it said 23mins remaining, so far so good. But it did not stop playback after the 30mins had elapsed.
Google Pixel 2