make sure pgpsession is usable

...and don't fail when trying to remove an unused session