Try to configure session options to reduce errors when switching sessions