Fixes #7846 - remove critcal section from cp events task