fix unlimit waiting loop when catching mac address