Add another way of dealing coreData in multithreading