call bean's destroy method