added performance enhancements so that Pipeline does not consume inordinately large numbers of socket handles under high load