Zend certified PHP/Magento developer

After refund the order needs to remain unclosed magento 2

Sometimes we refund some amount to customers for promotional offers or if we delay shipment, as compensation.
if we have more than one item then it is ok but if we have a single item in order After partial refund order status changed to closed.

We need to remain order status same as it is after refund.