NSM: Make sure to return an error if the SM_MON call result is not zero