Ensure that reply variable is defined locally.