Server able to reply client and more cleanup