Fixed handler threads dying after one request