def write_async(name, values, tags={}, timestamp=None, database=None):
    """ write metrics """
    thread = Thread(target=write,
                    args=(name, values, tags, timestamp, database))
    thread.start()