How to make get_output function faster?

m.run() is asynchronous, when you call get_output it blocks until the model execution finished