ftp: fixed occasional spinning after QUIT reply is received.