6869707172737475767778
if( null != robot ){ DateRobotThread thread = robot; robot = null; try{ thread.shutdown(); thread.join(); } catch(Exception e) { // just ignore. We're shutting down } } }