Fix error destroying dead session.

Needed a null check when trying to destory a session that was already killed some other way or did not otherwise exist.