warning of unclosed writer on instance removal