avoid bug where slow shim can cause inapprotiate logouts