if count of threads is zero or negatibe then disabled scanning