Remove debug prints
Extract conn.getBuf
Added conn.Close