disconnect implemented

now you can disconnect and connect again to the server