remove write session