Any way to avoid duplicate orders from being created if a subscription already exists when the order is created via purchase action?

I am having a main product and I create an order for a subscription via purchase action. I do offer the main product sometimes with discounts and thereby, I would not like another subscription to be created incase the customer is already subscribed. Any suggestions on not allowing dupe order to be created will be greatly appreciated.