buffer pool with size instead of timeout