bug fix: tcp connection active for file transfer