Improvement of the method of obtaining gas sulfur