Cleaning up after the event base has been quit has now been moved to swift::CleanAndClose, so that the cmdgw can make use of it as well.