finished_callback: use signature from cdef