connection is working. Needs refactoring and care with the threads. RC_activity still doent see the connected_thread