I assume you start the RPA software via the command line? If so, add &closeRPA=1&closeBrowser=1
&closeRPA=1&closeBrowser=1