Fix a possible segfault when closing the game during a .it music.