toplevel convenience functions must close their vms