We should have a mechanism to push script executing into the background so the UI can be responsive.
Either:
- All requests are asynchronous, and a completion is only returned if the script executes within a waiting window
- We detect long running scripts and return an early response while execution continues