This commit fixes a possible null-deref when stopping a smb2 session. (cherry picked from commit 4997c888)