Debug stuff to track down periodical issue.