question: public void disconnect ( ) { if ( conn != null ) { try { conn . close ( ) ; } catch ( SQLException e ) { logger . warn ( "Unable to close connection" , e ) ; } } try { closeBinlog ( ) ; } catch ( IOException e ) { logger . warn ( "Unable to close binlog" , e ) ; } }
target:  Clean up after termination.