Automatically restart handlers on crash