save in different threads