Add a 'force_close' function to tear down a device

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #27 from djs55/force-close

Add a 'force_close' function to tear down a device