We made this video to answer your question. The answer is -
Always square off is the option is liquid.
If not, see the price. If towards the expiry, your Option Price > Intrinsic Value minus STT, then square off
Please watch this video to understand this completely