NXBT-674: oups revert last commit, we check the resultproperty and try to stop the server on error