handles multiple client sessions (up to 10)