Cleanup if gzip fails.

If gzipping fails, the AbstractCommunicator has to clean up first.