Check connection before tftp session