code cleanup
client disconnected indicator