Use Wait parameter in multiple GL* functions