bug fix in disconnect
1.0.1