You won't really be able to hear the difference between sounds that you can't distinguish by pronouncing, so even if you don't feel like communicating, pronunciation is important. Pronunciation can also be a hint for remembering how a word is spelled.
However, when listening to an unknown foreign language, our ability to discern different words is lost, and we recognize speech as being a stream of sounds without many pauses.