Self-starting of feedback control in lasers with a tendency to Q-switch