Fixed blocked write
Added progress bar on sender end