Fix lock problem with command=bytarget&block=1