Use deleteLater instead of delete where possible.
Despite a nullptr check, cookieJar was getting double freed.
deleteLater schedules the delete and makes double free do nothing.