Force the threadWaitWrite thunk in 'sendHeadersImpl' (given buffering, it's difficult to cover otherwise).