Issue #24823:set connections when releasing planned order