JsonHttpResponseHandler bug fix with useSynchronousMode

* JsonHttpResponseHandler was calling on onFailure and onSuccess on a new thread when useSynchronousMode was true.

This is to fix issue #554.