1.7

1 add sleep(10) on idle
2 retry when fail to decode packet