fix disconnect function, connect after disconnect is possible w/o error yet