Writing something to a storage will prevent all other threads from writing to the same. You cannot simply make everything multithreaded.
In this case all other parts Need to wait for the previous one to finish.
solved load the data from file using multi threading