Reliable way to place buy/sell order with limit & stop loss margin orders in zerodha

For example,

Reliance current price = 2000

I want to short Reliance with a limit of 1998. And at the same time, I want to place stop loss margin order of price 2010. How can I do that?

Currently, I am placing two orders

1.) Short reliance with limit price.
2.) if it is completed, I place stop loss margin order.

But I don’t like this method because what If my Internet stops working after I place reliance short order with limit price. I will be unable to place stop loss order. Or for any other reason.

I was wondering if there is any better way to do this? I always want to place Stop Loss with my short order.