Fix EnablePart is not threadsafe