print periodic stats on console