Stopping the Grid instance running on specified port. Relies on generated .bat file name.
clean up unused code.