Set single threaded GC for runtime.