reset session to browser close