close statement in interpreter builder; gc when Derby db is closed