modified dojo adapter for removing connection