Removed SSL connection to reduce memory usage and avoid shutdown exceptions.