run tftp server in rtos thread