remove broker internal locks & improve performance of packet