Closed-loop control of intense-laser fragmentation of S 8