disable gc while setting up new context