(GL) Make gl_alive more robust