Control gc through env vars, add time per gc