Clean indent
Fix "socket closed" casse bug and release