Server run() refractored.