fix bug related to delete session while session was closed