can transfer one file perfectly, fixed issue where reopening connection with same address would throw an exception