#730 - Use blocking mode with file input