Fix bug in transport _read_ready method