Rotary valve maintenance