[PATCH v5 2/5] ch: start a new thread for handling ch events