Converted some open-run-close calls to cdb:remote-run