Fixed lagging issue due to MOC saving in main thread