Close UsbDevice on finish

After finishing import, finish the USB device.

Signed-off-by: Venkatesh Shukla <venkatesh.shukla.eee11@iitbhu.ac.in>