Utility function to allow the original Node.js stream to be paused and resumed correctly.