set serial read/write timout to 1 second to prevent high CPU usage