[JBIDE-16340] resources should get re-loaded when connection is changed