Close socket after ack
Merge pull request #3 from Raulmsm/close-sockets-after-ack

Close socket after ack