You can set the timer and put your app in background or turn off the screen. At the end of the time, the application closes by itself.
To stop the sound, you have to stop the application. If the application is in the background, the sound continues. This is a feature of the app, not an error.
Ideal for relaxing after a stressful day.