Add threading for serial read.