fix Transport#waitFor()