I don't see any coding which makes the fire go out automatically. Obviously if you don't have that then it won't go out.
Make an array, arraylist, ect. (or whatever you wish to use to save the values) which contains the data for each fire's x coordinate, y coordinate, height level, time left and have the server countdown and delete the fire at the appropriate time.