Help needed with useage of speech.nvgt library

Greetings everybody.
So I am facing a little thing with the speech.nvgt include.
Somehow the script does not wait for the speech to be finished to execute the next line when you use the speak function in the include.
Well, I managed to cope with it at first by manually inputting a specific time inside the weight function, but it had become tedious over time, and sometimes I don't even get the correct amount of waiting time, especially when it depends on the screen reader you're using and its speech rate.
Let me demonstrate what I mean with the simple example.

#include "speech.nvgt"
void main()
{
speak("hello human");
}

if you are blind like me and you're using a screen reader, the moment you run the script above it will definitely utter the phrase "hello human".
However, if the script has another line like this:

#include "speech.nvgt"
void main()
{
speak("hello human");
speak("how are you?");
}

I found out that it will only say the phrase "how are you?", completely skipping the first line.
My question is, is there a way to use the speech.nvgt Include in a way where it automaticly waits for the screen reader to finish speaking and executes the next line, I mean just the same way like the other ways you can use tts in this toolkit.
I find it so convenient to use the speech.nvgt include, however, I wish it had something like speak_wait(); function, that it would work something similar to this example:

void main()
{
tts_voice v;
v.speak_wait("hello human");
v.speak_wait("how are you?");
}

If you run the above script, you will definitely hear a screen reader saying both lines with no interruptions. But this way is not as convenient as having the currently running TTS as the output.

In any case, I would be happy to know some new information that you guys might want to share about the speech.nvgt include.
Thank you so much in advance.
I wish for you all a great day.

Hi there,
The reason this happens is because the speak function interrupts by default. To fix this, you can pass a value of false for the second argument of speak. So it would look something like:

#include "speech.nvgt"

void main() {
    speak("Hello human");
    speak("How are you?", false);
}

thank you so much, this is exactly what I wanted.