Fetch pending sms periodically