Python: fixed calling final handler for AsyncResult.