added sleep while sending