removed threading of add_connection