successfully can close the browser connection from the server and continue executing the script. Build functionality into ControllerBase and ApiControllerBase