kill old beamer instance before launching a new one