Index: uspace/app/netecho/netecho.c
===================================================================
--- uspace/app/netecho/netecho.c	(revision 28a5ebdea900783081bd23e40f685b6b0479c63d)
+++ uspace/app/netecho/netecho.c	(revision cd6287931f05186767f2ccee516423a0342dfad2)
@@ -121,4 +121,5 @@
 {
 	cons_event_t ev;
+	errno_t rc;
 
 	printf("Communication started. Press Ctrl-Q to quit.\n");
@@ -128,5 +129,8 @@
 	done = false;
 	while (!done) {
-		console_get_event(con, &ev);
+		rc = console_get_event(con, &ev);
+		if (rc != EOK)
+			break;
+
 		if (ev.type == CEV_KEY && ev.ev.key.type == KEY_PRESS)
 			key_handle(&ev.ev.key);
