These fields will be updated and read from different threads.

Mark them as volatile just in case.