send ack after terminate command received
Merge pull request #2 from SergeyVasiliev/master

send ack after terminate command received