I believe its intentional that the enemies continue spawning until the boss is dead. Whether the spawn rate is too much is another matter. But its obviously meant to be challenging.