Check if garbage collection is possible after decrementing reference
counter.