Change HandlerThread to Executor.