Reworked PopWrite method. Added ManualResetEvent to signal about the end of expecting block compression. I think it could be more flexible.