I found the answer. In Xlights, when you have a playlist tab selected, click on playlist at the top of the screen and select Custom Script. At the bottom of the option window that opens is a Lights off after each song check box. I checked it and that solved my problem.
Rick S