Restoring default handler after reconnect