(almost finished) Service to send messages after a period without internet