Add logging to track down stuck blocks issue.