fix dead lock in queue

add support db queue execute multi task if they are same queue, fix dead lock.