logout timing errors