Added null checks during ObjectTransformer shudown