@joaolima,
It's wrong. Any verb used immediately after "while" has to be gerund (end in -ing).
...while occasionally collaborating with...
...while having occasional collaborations with...
...while continuing to occasionally collaborate with...
Any of those work. My preference is the first. Keep is an odd verb to use in this scenario.