Fixed ofxTCPServer being thread-unsafe.

https://github.com/openframeworks/openFrameworks/issues/1901
when close() fails due to invalid socket, close continues