fix pending puts not being processed when a take makes place for it in the buffer