removed some useless refrence to last socket connection