add blocking mode option on getNext