removed busy waiting (while) when attending client console.