Do not try to unbind if not connected

Bug: 145661922
Test: passes existing tests
Change-Id: Icf6b8461663cf8073060b365cd5049001cbed569
1 file changed