in that case the connect_handler would be invoked twice, in no particular order, once with error::channel_timeout or another error code and null as channel argument, and once with error::success as error code and the newly created channel as channel argument.