Catch errClosing error when TCP and UDP proxies are terminated.
Merge pull request #2249 from jpetazzo/cleanup-errclosing-in-proxy

Catch errClosing error when TCP and UDP proxies are terminated.