Added options, allowing to block until specified number of lines was
read