Not part of standard Roon, but there is an excellent extension that will allow you to control where the playback stops.