head_lock could be held by another thread when fork happened. We should reset it to avoid deadlock.
Attach a file by drag & drop or click to upload