Speed up AsyncResult._wait_for_outputs(0)

Greatly reduces waiting time on ready() call for large calculations.