when ftp connection is worng, program quits