Rotary encoder consistency and thread safety