delete callbacks in finalizer