Hi I\'m learning socket programming in C. I\'m trying to write an program where the server would close the connection with a client on certain situation. But if I close the port