Thank you for the reply :)
This idea of having a time buffer is very interesting, the enemy spawn problem is on the fix list, we thought about solving it by leaving them away from the entrances, however, we will consider the time buffer ideia, thank you very much :)