Fix issue where sessions would not destroy.