OTWO-3218: Fix hung processes due to full io buffers