boost timeout example for channel