Fix bug when connection closes during inflate
Merge pull request #5 from morpheus-med/connection-closed

Fix bug when connection closes during inflate