Fixed #21271 Django's usage of smtplib.SMTP should have a timeout.