Upload and download working with socket timeout set.