prevent concurrent GL-calls