simplify the webhooks code.

there is not need to maintain our own queue since uv_queue_work already has
one. Also while I'm here remove the use of the lock.