clean up setup to avoid JBDS closing errors