Hi,
you can wait to the music finish after deleting the entity. You might set PASSABLE | INVISIBLE to the enemy to take it off from the scene, if you want.

Salud!