Stop Popup After MailChimp Form Submit

I have a popup defined with a MailChimp subscribe form from The popup shows after 20 seconds. If the person submits the form, the page reloads, and then 20 seconds later the form appears again. Is there a way to not show the popup if someone successfully submitted the form? Maybe set a cookie?

Appreciate any insight.