write rtt log periodically in different thread