add sleep time at read/write thread