fix: return error on process crash