Octaves are quite tricky to play, expecially when you are improvising. Wes Montgomery used to play them with his thumb, while he muted the string in between with his left hand, while some jazz cats pluck them, so they don't have tu mute, but the sound is less round... Find what works best for you.