stop client on window close
use new XLCUtils