Solve the timeout problem

Add timeout avr