Document close() behavior #26