bugfix: resty: we should check the case when exec() fails. thanks Michal Cichra for the original patch in #65.