handlJoin() lock and handleRead() check readByte == writeByte