add eglReleaseThread