@ Override public void stop ( ) { System . out . print ( "Stopping the client..." ) ; client . disconnect ( ) ; System . out . println ( "done" ) ; }
Disconnect the client when the application is closed .