The callbacks iterated over all threads when only the local ones must be iterated. This prevents a deadlock from occurring when multiple threads start throttling at the same time. Also fixed the gwbuf_append debug assertion.