Added hostname, close event process sigint and sigterm. Added some comments