FTP: close data transfers correctly, report error when data transfer fails to listen