diff --git a/services/param/linux/param_request.c b/services/param/linux/param_request.c
index 460486d..6bcd72d 100644
--- a/services/param/linux/param_request.c
+++ b/services/param/linux/param_request.c
@@ -50,6 +50,7 @@ static int GetClientSocket()
 	serverAddr.sun_family = PF_UNIX;
 	strncpy(serverAddr.sun_path, PIPE_NAME, strlen(PIPE_NAME));
 	if (connect(cfd, (struct sockaddr*)&serverAddr, sizeof(serverAddr)) < 0) {
+		close(cfd);
 		perror("Failed to connect");
 		return -1;
 	}
