fix. that particular generator.close() was mandatory ;)