testing onended
auto refresh every 1.5 s if io not available