I have the null setting when the next decode phase starts at the top. Do you mean nulling it out immediately after the out.add() is called so if something happens in between it doesnt throw?