closes out