Add session reset

Tag 0.3.2

Required for easybib/issues#840