Only recover panics if there is a handler