This is something that can be annoying indeed.
How I usually solve this is by adding an extra closing bracket. This will be interpreted as text instead of the closing bracket for the function, and then delete the closing tag that was inserted first.
As you can see in this GIF
Another possibility is to copy the closing bracket and paste it whenever you need it. The editor will not notice the keystroke on your keyboard for the closing bracket and will just place it as text.