question: @ Override public void dispose ( ) { if ( receiveThread != null ) { receiveThread . interrupt ( ) ; try { receiveThread . join ( ) ; } catch ( InterruptedException e ) { } receiveThread = null ; } if ( serialPort != null ) { serialPort . close ( ) ; serialPort = null ; } logger . info ( "Stopped ZWave serial handler" ) ; super . dispose ( ) ; }
target:  Closes the connection to the ZWave controller.