Add more debugging to try and track down this scan hang nonsense.