Solved a problem with intermittent garbage collection of decoder before it can be used.