Return a promise from sync:closeAll