add disconnect method
add disconnect log