High CPU Consumption when using agent.jar with websockets

We are facing a high cpu usage when using the agent.har with websockets. When using TCP with -tunnle everythin is fine. But due to some restrictions we need to use websockets.
Is there a know issue with websockets or is there a way to configue websockets to utilize the cpu not that much?