void closeDevice()

This function can be used to close the device.

Return

Nothing returned.