Fixed reader thread rx timeout bugs