Prevents CoreData Threading Exception