demo the nodelay function