JBIDE-16600 - check for disposed