Fixed threading issues in BaseJsonHttpResponseHandler and JsonHttpResponseHandler