add thread for loader image