gracefully return from failed exec