Having this problem myself right now. I brain storm possible ending then leave it open.
Or I make a list of everything that NEEDS to be tied up at the end.
Then I just write the book and open by the time I get to the end, the perfect ending is in sight because I know my characters, plot and themes better.