added timeout if plotter not detected