fix none durable session, introduce explicit null session function