add data to queue when data can not sent