An attempt at fixing the issue in ircanywhere/ircanywhere#72
1.8.5
Merge branch 'disconnect-fix'
1.8.6