The result of the first close attempt is ignored and may be lost. By removing it we ensure the close result code is properly analyzed.