Do pass ref-intented variable by ref intent to task functions.