Revert "Add a callback on crash"

This reverts commit 8e10347ccdfc804e1365fc5e7a2c5528d7f8c67d.