Sending a batch of messages after a period without internet