gc isrunning fix

Signed-off-by: katlogic <kat@lua.cz>