Fix for timeout error when logging >1MB data