Can I set to close the meeting when the moderator exit?

Now the meeting will not close if there is a participant. can I set to close the meeting when the moderator exit? Thanks.