Implement client event thread.