I currently have an always-on task running that connects to the gmail IMAP servers periodically to check for emails of a specific format. It's been running fairly stable for a couple months now, but as of yesterday it's been unable to connect to those servers intermittently, and as of just about an hour ago it hasn't been able to connect at all, returning a 'Name of Service not known' error from imaplib. Interestingly, I've been able to connect fine using the same package, in the same script, on my my local computer, which leads me to believe its an issue with where the task is running. Any idea on what could be causing the lack of connection?