Presto client should exit with the right status code