Fix bug : close server listening on port
add logs generator
Merge pull request #2 from nguyenxuanluong-luvina/master

Add script to generate logs for log4j & socket  + Fix bug close server listening on port