I work in a small startup where my boss who starts a conversation with me as a way to making "in-between" talk (usually when he has to move away from his desk because the maid is cleaning the space), asked me a work related question and I answered it in all seriousness but when the conversation continued it feels like all he wants to hear is a "yes it can be done" than mule over the nuances of what it entails. I am in a technical role so I give an answer based on my previous technical experience.
To make light small talk I sometimes talk about non-work related things and even if I am saying something, he acts like he didn't hear anything, basically checks out of the conversation so it feels like I am only "forcefully" talking but nobody is listening.
Once in awhile this is fine because I know not all of what one says is of any use to another person but repeatedly trailing off a conversation tells me as if he is not interested in holding a conversation after he feels like his itch to make small talk has been satisfied and that I should just shutup after it.
How do I deal with this kind of conversation where I feel cut off despite being asked for my opinion?