add #pause and #resume and retry to send