fix scan scheduling

 to avoid occasional hanging