Fixed threading the commands: The callback is executed in the thread that submitted the request.