[rhq-project/rhq] 87a0c2: [BZ 185375] add null check on shutdown