Setting it to null will prevent the Session from being used after it is disposed.