Fix ftp_logged_in? failure on Errno::EPIPE