add simple disconnect handler