Avoid letting message buffer get too large