Exit java process on an envjs failure and return status code