readLine-method blocks execution.