Fixed deadlock found by Coverity scan.

Conflicts:

	src/server/queue_recycler.c