open event for disconnection
close unnecessary log