Only attempt to refresh the session if a session actually exists