avoid double close
rebuild jar