Optional practical exercise
This is an optional practice for an ordinary conversation between people who want to talk. It is not a way to make somebody discuss something they prefer to keep private.
Begin with the offer
Name what you can give: “I have twenty quiet minutes now; would you like company?” If another time would be better, say so. A bounded offer can still be warm.
Ask which kind of conversation is welcome. Listening, practical help, and brainstorming are different activities. Leave room for the answer to change as the conversation develops.
When you notice yourself preparing a similar story, pause long enough to check what the speaker is actually saying. Reflect one concrete point in your own words and invite correction. Avoid turning the reflection into a test of whether you understood perfectly.
Close the time carefully
When the agreed time is nearly over, mention it without abruptly withdrawing attention. Ask whether there is one practical next step, another time to talk, or simply a wish to leave the conversation there.
A useful result may be a clearer understanding rather than a solution. Do not require the other person to report feeling better in order to make your listening count.