library: Ensure setverdict(fail) is followed by mtc.stop

This will prevent subsequent failures from overwriting the verdict so we
can easily see the root cause of the test failure.

Using testcase.stop instead for errors internal to our test
infrastructure to mark them as test errors instead of failed.

Change-Id: Idc6819aaf0b01e70c38fad828dd44dcec6bdd778
diff --git a/library/PCUIF_CodecPort.ttcn b/library/PCUIF_CodecPort.ttcn
index c642202..389c5ca 100644
--- a/library/PCUIF_CodecPort.ttcn
+++ b/library/PCUIF_CodecPort.ttcn
@@ -70,14 +70,14 @@
 			} else {
 				setverdict(fail, "Error connecting to PCU socket");
 			}
-			self.stop;
+			mtc.stop;
 		} else {
 			return res.id;
 		}
 		}
 	[] T.timeout {
 		setverdict(fail, "Timeout connecting to PCU socket");
-		self.stop;
+		mtc.stop;
 		}
 	}
 	return -23;
@@ -106,7 +106,7 @@
 	[] pt.receive { repeat; }
 	[] T.timeout {
 		setverdict(fail, "Timeout waiting for PCU DATA.cnf");
-		self.stop;
+		mtc.stop;
 		}
 	}
 	return 0;