1.add time period
2.change default read/write timeout from 500ms to 2s