Add a 'force_close' function to tear down a device

Signed-off-by: David Scott <dave.scott@eu.citrix.com>