Wait till the channel is actually ready to send data. Signed-off-by: Stefan Knoblich <stkn@openisdn.net>