server client data structure now has refrence to its listener thread