close the eventual open tool if the other opens