Fix for retaining large slab buffers in node core

This is a cherry-pick of a bugfix from einaros/ws which greatly reduces memory use for us.