You can remove a global variable that has previously been defined by calling a removeGlobalVariable(String variableName) of the ALH API.
public void removeGlobalVariable(String variableName) { ... }
The following code fragment shows how to remove a global variable, e.g., GLOBAL_COUNT, that was previously defined through ALH API.
ALH.removeGlobalVariable("GLOBAL_COUNT");