Fix thread cleanup inside ContentHandlerImpl

Fix segmentation fault due to double join/delete of threads at ContentHandlerImpl destruction.

R=qsr@chromium.org

Review URL: https://codereview.chromium.org/738983003