Workaround Nvidia driver bug which crashed the OS when releasing a
shared context by not releasing shared contexts.