Nginx -> prosody tcp connection TIME_WAIT (127.0.0.1:5280)

Dear Jitsi team,

Can anyone tell me, what should be done to improve the number of prosody connections?
At times TIME_WAIT (127.0.0.1:5280 127.0.0.1:42590 TIME_WAIT) reaches up to 6k

Kindest regards,
edge