Added recycle stats and related functions...
Print recycle stats when closing the last socket.
Minor changes...