A different attempt at disabling garbage collector