hack for dealing with inevitable latch thread interruptions.