Add some section name
Use semaphore shutdonw server
Fix behavior of signal handler
Improve client_main.c