improve control mechanism,
sphinx restart will wait now for the index rotation to be finished