Support closing session buffers
Update backend