Added auto-shutoff for pronterface