Add flag for disconnect handling

Test: compile
Bug: 316958439
Change-Id: Ie72cf3a7b2bb16162d17f944988e088e9d1f3d21
1 file changed