fixes #118
only call callback once from disconnect
Merge #119 r=@jiahuang: fixes #118