Attempted to fix random logouts.