Removed thread-safety related code. RCPClient is NOT THREAD-SAFE!!! Thread safety requires significant performance compromise. One client per thread is required. It will be implemented later