Avoid collecting of callback passed to C