DataStore may error and also you did a pretty unsafe approach.
if you want already made professional module you can use ProfileStore
There is a lot reasons why your method is unsafe:
- No session (jobid) locking
- Could error
- Could override (session locking related)