add lock to protect chan_free_bitmask in mbox_chan_update_available().
start a timer when msg send fail to check channel available.