TCP output plugin blocking port on pipeline reload

On upgrading from logstash-oss-8.5.2-1 to 8.15.4 which started to use logstash-output-tcp Plugin version: v6.2.1 from Plugin version: v6.1.1. It seems the bug which was resolved as mentioned in changelog of 6.1.0 is introduced again for closing client sockets on pipeline reload-
6.1.0 Changelogs as
Feat: ssl_supported_protocols (TLSv1.3) #47
Fix: close server and client sockets on plugin close

Can someone please help me identify why on reloading pipeline logstash does not release the output port ? If I stop the logstash service and start it again then everything works fine. I want same to happen with conf reload. Please help.