I have a script which is taking 6 seconds to run. I removed a line of code which submits some data at the end before serving a dialog to the user, and the time dropped to 1.5 secs. This submitted data is not vital for the user but it does need to be submitted. Is there a way I can submit this data in the background while serving the dialog to the user.