Make sure to put the waitsync object onto the OpenGL queue so that they are not invalid on delete