Hi,
There is already a mechanism to do that automatically. This is based on the settings "cart retaining period" and "Frequency of the check for the carts" in the HikaShop configuration.
Reduce the "Frequency of the check for the carts" so that it happens more often and it should help after a while.