sdk: implement shutdown() to deallocate system resources

Change-Id: I2e8f28979e454d6373507c3095c09dc600a27b24
Signed-off-by: Michael Pasternak <mpastern@redhat.com>