sdk: implicitly disconnect and perform cleanup

Implicitly disconnect and perform cleanup
when detected instance of the SDK proxy with
ref-count == 0

Change-Id: Id47032f5499bc9f4a43c84740211447605983d05
Signed-off-by: Michael pasternak <mpastern@redhat.com>