Index: uspace/srv/loader/main.c
===================================================================
--- uspace/srv/loader/main.c	(revision 82cd2e0db29c41894c25a77c91a0b96ff60a0c67)
+++ uspace/srv/loader/main.c	(revision faf19d46527b6580aa9e3488fa09a9ff27b64328)
@@ -341,4 +341,12 @@
 	async_answer_0(req, EOK);
 
+	/*
+	 * Wait for the hangup from the other side in order not to leave any
+	 * unanswered IPC_M_PHONE_HUNGUP messages behind.
+	 */
+	async_get_call(req);
+	assert(!IPC_GET_IMETHOD(*req));
+	async_answer_0(req, EOK);
+
 	DPRINTF("Jump to entry point at %p\n", pcb.entry);
 
