timing out detections after N seconds