Run the processing in a background thread.