finishing echo socket server