Add back TCPLinkTest after threading change fixes
Updated for threading changes
Limit time in processEvents

This allows other threads to signal