Use pydle's autoreconnect.