Stabilizing stick-slip friction