The Client Task Agent may leave ports on Unix, Linux and Mac clients in Close_Wait state. (These ports can be closed and released by restarting the agent: "aex-helper agent restart".)
Multiple, sometimes hundreds, of ports are shown in a Close_Wait state as seen by commands such as: netstat | grep 50124.
Handling of socket descriptor.
The point fix installation file is attached to this kb article. Using this version of the agent will immediately release ports.
SMP 7.1 SP1 MP1 rollup v6.