fix not releasing lock when recvloop stops; add nosleep numserver batch