Removed hardcoded socket connection