Upload in another thread