Passing parameters by reference to an asynchronous method