Disconnect support

Change-Id: Iac7c47c137004b3e5136324c85210368063fe9e0
Signed-off-by: Andrey Shamis <lolnik@gmail.com>