POP/LMTP/TIMSIEVE: cleanup session shutdown

hopefully this fixes the pop3 crashes where the bailout sequence was
called twice under certain conditions, leading to stack corruption and
segmentation faults.